Skip to main content

Modify Data files or Log Files

Description

The plugin is designed to modify Data file or Log file in MSSQL server database. Following parameters can be modified:

  1. Logical Name
  2. Initial Size
  3. Auto Growth

Known Issue:
When you select values for Instance name or Port field from a previous step input (that is, Generate Rows or Microsoft Excel Input etc.) the corresponding Port or Instance name is disabled but may be unlocked when revisited

Configurations

No.Field NameDescription
1Step NameName of the step. This name has to be unique in a single workflow.
Connection:
2Server NameThe Hostname/Server Name/IP of the MSSQL Server. This field is mandatory. Drop down is available.
3Instance nameThe instance name of MSSQL Server instance. One of the two fields Instance name or Port is mandatory. Only variables/static values are allowed.
4PortThe port number of the MSSQL Server. One of the two fields Instance name or Port is mandatory. Only variables/static values are allowed.
5UsernameA username of the MSSQL Server.
Password
6PasswordSpecify or select the password, as required.
If the checkbox Accept Value as variable/static is selected, then the password field appears as a text box and accepts static or variable values.
OR
If the checkbox Accept Value as variable/static is not selected, then the password field appears as a dropdown in which you can select a field from the previous steps.
7Other Connection ParameterSpecify multiple, semi-colon separated parameters other than the default connection parameters.
Other connection parameters will be appended to the default connection parameters.
Example of default connection parameters: Server Name, Password.
Examples of other connection parameters: encrypt=false;trustServerCertificate=false
Button
8Test ConnectionVerifies whether the connection is established or not.
NOTE: Test Connection button does not work for previous step fields. Test Connection button only works with static values and environment variables.
Input Fields
1Database NameName of the Database on which the datafile/log file is to be created or Select from the list populated by clicking Get Database Button. This field is mandatory.
2Button: Get databasePopulates the list of database from the connected Instance.
3Logical NameName of the data file or log file that is to be modified. This field is mandatory.
4Button:Get Logical NamePopulates the list of files from the selected database.
5New Logical NameNew name to the specified data file or log file. If value entered then Logical file name will be changed to the specified name
8Initial Size(in MB)Size of the file should be mentioned in MB.If a value is provided, then it is considered that you want to modify the Initial Size of the file chosen above.
NOTE

Get Database, Get File Group and Browse button does not work for previous step variables. All the buttons work only with static values and environment variables.

No.Field NameDescription
Autogrowth Fields:
1Enable AutogrowthAcceptable values are “Yes” or “No”. These are visible when you hover over the field. When value is Yes, it is considered that you want to enable Autogrowth for the file.If No is selected any entries made in the fields below is ignored.
File Growth
2Growth In Percent /In MBAcceptable values are Percent or MB. If Percent is chosen then you specify growth value in percent below. If MB is chosen you are specifying an absolute value for file growth.
3ValueSpecify the value for growth of a file in percent or MB as chosen above.
Maximum File Size:
4Unrestricted File GrowthAcceptable values are “Yes” or “No”. These are visible when you hover over the field. When value is Yes, you allow the Unlimited growth of the file. If Yes is selected any entries in the field below are ignored.
5Restricted File Growth(MB)If Unrestricted File Growth is No, specify the Restricted size to the file in MB
Output Fields
1ResultOutput field to hold the result of the successful plugin execution.For step error handling refer Error Handling
This field is mandatory.